package com.example.user.feign;

import com.example.common.Ov.LoginOv;
import com.example.common.entity.Rsp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "message")
public interface MessageFeign {

    //获取验证码
    @PostMapping("/getMessageCode")
    Rsp getMessageCode(@RequestBody LoginOv loginOV);

    //身份证识别
    @PostMapping("/authentication")
    public Rsp authentication(String imageurls);

}
